package com.mjw.tender.domain;

import java.io.Serializable;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "blog_user")
public class BlogUser implements Serializable {
    /**
     * 博客系统用户主键
     */
    @Id
    @Column(name = "id")
    private Long id;

    /**
     * 中心系统用户id
     */
    @Column(name = "tb_user_id")
    private Long tbUserId;

    /**
     * 头像url
     */
    @Column(name = "img_Url")
    private String imgUrl;

    /**
     * 昵称
     */
    @Column(name = "nickname")
    private String nickname;

    /**
     * 邮箱
     */
    @Column(name = "email")
    private String email;

    /**
     * 性别 1男 0女
     */
    @Column(name = "sex")
    private Short sex;

    /**
     * 个性签名
     */
    @Column(name = "`label`")
    private String label;

    /**
     * 是否外链
     */
    @Column(name = "isShare")
    private Boolean isshare;

    /**
     * 博客名称
     */
    @Column(name = "web_name")
    private String webName;

    /**
     * 博客地址
     */
    @Column(name = "web_addr")
    private String webAddr;

    /**
     * 博客描述
     */
    @Column(name = "web_description")
    private String webDescription;

    /**
     * 博客图片
     */
    @Column(name = "web_img_url")
    private String webImgUrl;

    @Column(name = "username")
    private String username;

    private static final long serialVersionUID = 1L;
}